package com.cn.crmsystem.service.systemService;

import com.cn.crmsystem.pojo.Department;
import com.cn.crmsystem.pojo.Login;
import com.cn.crmsystem.pojo.ResultJson;
import com.cn.crmsystem.pojo.User;

import java.util.Map;

public interface DeptService {

    /**
     * 新增部门
     * @param department,user
     * @return
     */
    public ResultJson addDept(Department department, Login login);

    public ResultJson selectDept(Department department);

    ResultJson deleteDept(Integer id);

    ResultJson updateDept(Department department, Login login);

    ResultJson deleteManyDept(Integer[] ids);
}
